qingwa = 0
list1=[3,2,1,1,2,0,1]

while qingwa < len(list1):
    if list1[qingwa] == 0:
        print('FALSE')
        break
    qingwa += list1[qingwa]

if qingwa >= len(list1):#排除中途break的情况
    print('TRUE')

